package com.hurl.waguji.base.dataprocess;

import java.io.Serializable;

public abstract class ProcessIdentifier implements Serializable {
	private String id;
	private String title;

	public ProcessIdentifier(String id,String title){
		this.id=id;
		this.title=title;
	}
	
	/**
	 * 取得下载项的ID号，命名规则：jcsj.<下载项>.<下载项子项>.<数据来源的网站名称>
	 * @return
	 */
	public String getId(){
		return id;
	}
	/**
	 * 取得下载想的名称
	 * @return
	 */
	public String getTitle(){
		return title;
	}
	
	public abstract ProcessResult execute(ProcessParams params)throws ProcessException;
}
